Skip to content

Conversation

@seuros
Copy link
Member

@seuros seuros commented Dec 14, 2025

release-as: 9.5.0

release-as: 9.5.0
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves API usage across the closure_tree gem by making internal methods private, removing unused test code, using public APIs instead of private methods, and consolidating CI environment variables.

  • Renames and privatizes the adopt_children_to_grandparent method to _ct_adopt_children_to_grandparent to follow internal naming conventions
  • Replaces connection.send(:arel_visitor) with the public connection.visitor API
  • Removes unused hierarchy query calls in adoption tests and consolidates CI environment variables

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
test/closure_tree/adopt_test.rb Removed unused hierarchy query calls that had no side effects
lib/closure_tree/hierarchy_maintenance.rb Renamed method to follow _ct_ naming convention and made it explicitly private
lib/closure_tree/arel_helpers.rb Changed from using send(:arel_visitor) to public visitor method
.github/workflows/ci.yml Moved environment variables to job level and added Rails 7.2 to test matrix

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@seuros seuros merged commit cde4d29 into master Dec 14, 2025
9 checks passed
@seuros
Copy link
Member Author

seuros commented Dec 14, 2025

@vsmay98 ^^ let test it .

then i will release

@seuros seuros deleted the fix_f branch December 14, 2025 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants